<?php

class TitleHelper {
	protected static $t=array();
	public static function invoke($caller,$val=null) {
		if(null===@$val) {
			return implode(' | ', array_reverse(self::$t));
		} else {
			self::$t[]=$val;
		}
	}
}
